package com.sc.nft.controller.request;

import com.sc.nft.entity.PaymentMethod;
import com.sc.nft.enums.PayMethodEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class PaymentRequest {

    @ApiModelProperty("支付方式")
    @NotNull(message = "请选择支付方式")
    private PayMethodEnum paymentMethod;

    @ApiModelProperty("订单Id")
    @NotNull(message = "订单Id不能为空")
    private Long orderId;


    @ApiModelProperty("银行卡Id")
    private Long bankCardId;

    @ApiModelProperty("微信openId")
    private String openId;

    @ApiModelProperty("MAC地址")
    private String mac;

    @ApiModelProperty("是否是H5支付")
    private Boolean webPay;
    @ApiModelProperty("跳转类型 1：H5 2:DAO")
    private Integer jumpType=1;


    @ApiModelProperty("连连钱包密码")
    private String password;

    @ApiModelProperty("连连随机因子")
    private String randomKey;

}
